﻿using sipfe.model.dataAccess;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;

namespace sipfe.model.autoayuda
{
    public class AutoAyudaDAO
    {
        private BDSIPFEEntities db = new BDSIPFEEntities();

        public List<SIPMaeEmpresa> ListaIntitucionesDAO(string wordSearch)
        {

            return db.SIPMaeEmpresa.Where(x => x.vRazonSocial.Contains(wordSearch)).ToList();
            //return db.SIPMaePersona.Where(x => x.nIdePersona == n_IdePersona).ToList();
        }


       

    }
}
